import request from '@/utils/request'

// 查询模采数据列表
export function getMetAnalogData(query) {
    return request({
        url: '/signal/analogData/list',
        method: 'get',
        params: query
    })
}
// 查询模采数据列表(未提取无线电信息的)
export function getMetAnalogDataUnFeature(query) {
    return request({
        url: '/signal/analogData/unFeatureList',
        method: 'get',
        params: query
    })
}
// 查询模采数据列表(未质量评估的)
export function getMetAnalogDataUnAccess(query) {
    return request({
        url: '/signal/analogData/unAccessList',
        method: 'get',
        params: query
    })
}
// 查询模采数据列表(未气象提取的)
export function getMetAnalogDataUnAnalyze(query) {
    return request({
        url: '/signal/analogData/unAnalyzeList',
        method: 'get',
        params: query
    })
}

// 新增模采数据
export function addMetAnalogData(data) {
    return request({
        url: '/signal/analogData',
        method: 'post',
        data: data
    })
}

// 修改模采数据
export function updateMetAnalogData(data) {
    return request({
        url: '/signal/analogData',
        method: 'put',
        data: data
    })
}

// 删除任务
export function delMetAnalogData(cnIds) {
    return request({
        url: '/system/analogData/' + cnIds,
        method: 'delete'
    })
}
